package com.atguigu.category.service;

import com.atguigu.param.PageParam;
import com.atguigu.param.ProductHotParam;
import com.atguigu.pojo.Category;
import com.atguigu.utils.R;


public interface CategoryService {

 
    R byName(String categoryName);

    R hotsCategory(ProductHotParam productHotParam);

    R list();

    R listPage(PageParam pageParam);

    R adminSave(Category category);

    R adminRemove(Integer categoryId);

    R adminUpdate(Category category);
}
